package org.jie.study.service;

import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * @author jie
 * @date 2024/10/19 20:40
 */
public interface AuthorizeService extends UserDetailsService {

    String sendValidateEmail(String email, String sessionId, boolean hasAccount);

    String validateAndRegister(String username, String password, String email, String code, String sessionId);

    String validateOnly(String email, String code, String sessionId);
}
